|
TEXTURE BACKDROP
This command will texture the 3D backdrop using the specified image value.
TEXTURE BACKDROP Image Number
TEXTURE BACKDROP Camera Number, Image Number
Camera Number
Integer
The camera number
Image Number
Integer
The image number
This command does not return a value.
This command is now obsolete and using sky spheres and boxes is a recommended alternative.
autocam on
load image "texture.bmp",1
make matrix 1,4000,4000,100,100
set matrix height 1,50,50,500
update matrix 1
backdrop on
texture backdrop 0,1
color backdrop rgb(128,0,0)
while inkey$()<>"x"
set cursor 0,0
print "angle x:";camera angle x(0)
print "angle y:";camera angle y(0)
print "angle z:";camera angle z(0)
print "position x:";camera position x(0)
print "position y:";camera position y(0)
print "position z:";camera position z(0)
x#=x#+mousemovey() : y#=y#+mousemovex() : rotate camera 0,x#,y#,0
scroll backdrop 0,1,1
endwhile
backdrop off
delete matrix 1
autocam off
end
CAMERA Commands Menu
Index
|